home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / print / mmaker10.zip / PRNBOOK.BAT < prev   
DOS Batch File  |  1994-06-02  |  836b  |  46 lines

  1. @echo off
  2. cls
  3. echo batch file processor to print output files from
  4. echo makebook.exe (c)1994 S. Benedict -- AYS Enterprises
  5.  
  6. if "%1"=="" goto abort
  7.  
  8. echo.
  9. pause
  10. echo copying first file to printer...
  11. copy %1.ps1 lpt1:
  12. echo.
  13. echo first section is printing...
  14. echo when this completes reload the paper into the printer
  15. echo if you are using the NEC printer, flip the paper end-to-end
  16. echo for the HP, do not flip the paper over
  17. echo.
  18. pause
  19. echo.
  20. echo copying second file to printer...
  21. copy %1.ps2 lpt1:
  22. echo second section is printing...
  23. goto ender
  24.  
  25. :abort
  26.  
  27. echo.
  28. beep
  29. echo ERROR....batch file requires a file name prefix as a parameter
  30. goto final
  31.  
  32. :ender
  33.  
  34. echo.
  35. echo finished..
  36. echo. 
  37. echo thanks for using makebook.exe
  38. echo send comments to af469@cleveland.freenet.edu
  39. echo.
  40.  
  41. :final
  42.  
  43. echo.
  44.  
  45.  
  46.